using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using GS.DataConnection;

namespace GS.CMS.Entities
{
    public class AboutUs
    {
        #region Declare Variables;       
        public DataTable GetAboutUs()
        {
            return SqlProvider.GetTable("pro_aboutus_sel", "dtAbout");
        }
        public int UpdateAboutUs(string Content,bool IsActived, int AboutUsID)
        {
            System.Collections.Hashtable ht = new System.Collections.Hashtable();
            ht.Add("@n_Content", Content);
            ht.Add("@IsActived", IsActived);
            ht.Add("@AboutID", AboutUsID);
            return SqlProvider.ExecuteSQL("pro_aboutus_update", ht);
        }
        #endregion
    }
}
